<#setting locale="zh_CN">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>${title}</title>
</head>
<link href="${base}/css/ccb_epay_K3.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../../res/front/js/js/jquery.js"></script>
<script type="text/javascript" src="../../res/common/js/changeMoney.js"></script>
<script type="text/javascript" charset="utf-8">
	$(function(){
		$('#sina').hover(
			function(){
				$(this).addClass('Sina2');
			},
			function(){
				$(this).removeClass('Sina2');
			}
		);
	});
		
	$(function(){
		$('#tencent').hover(
			function(){
				$(this).addClass('Tencent2');
			},
			function(){
				$(this).removeClass('Tencent2');
			}
		);
	});
		
	$(function(){
		$('#wechat').hover(
			function(){
				$(this).addClass('WeChat2');
			},
			function(){
				$(this).removeClass('WeChat2');
			}
		);
	});
</script>
<style type="text/css">
.CCBTable14PX{ border:1px solid #D7D7D7; border-top:none; color:#333333; border-bottom:none; font-size:14px; text-align:center; text-indent:10px;}
.CCBTable14PX th{ background:#F9F9F9; border-bottom:1px solid #EBEBEB;  height:33px; line-height:33px;}
.CCBTable14PX td{ border-bottom:1px solid #EBEBEB; height:33px; line-height:33px;}
.inputstyle2{line-height:30px;width:30px;float:left;height:30px;padding-top:10px;}
.listright-2{
	float:left;
	width: 170px;
}

#mask1 {
	display: none;
	background-color: #cccccc;
	left: 0px;
	position: absolute;
	top: 0px;
	background-image: none;
	filter: alpha(opacity : 50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}

#dialog1 {
	display: none;
	background-color: #FFFFFF;
	z-index: 200;
	width: 460px;
	height: 234px;
	position: absolute;
	border: 1px solid #d3d5dd;
	margin: 0 auto;
}

.boxReTips_Tips {
	padding: 10px 0px;
}

.boxReTips_TipsFont {
	padding-left: 20px;
	float: left;
}

.boxReTips_TipsFont ul {
	padding: 0px;
	margin: 0px;
	font-weight: bold;
	line-height: 25px;
}

.boxReTips_TipsFont ul li {
	line-height: 22px;
	font-weight: normal;
	list-style-type: square;
	margin-left: 20px;
}

.Safepayinputbox {
	margin: 10px 0px;
	float: left;
}

.Safepayinputbox_left {
	width: 150px;
	float: left;
	text-align: left;
	line-height: 40px;
	font-size: 14px;
	font-weight: bold;
	height: 40px;
}

.Safepayinputbox_right {
	width: 350px;
	margin: 5px 0px;
	line-height: 30px;
	height: 30px;
	float: left;
	text-align: left;
}

.TipsboxButtonArea {
	height: 50px;
	line-height: 50px;
	text-align: center;
	clear: both;
}

.TipsboxButton_Btn2 {
	width: 103px;
	height: 31px;
	background-color:#ffc929;
	color: #FFF;
	linoxe-height: 31px;
	text-align: center;
	font-size: 14px;
	font-weight:bold;
	border: none;
	margin: 0px 5px;
	line-height: 31px;
	border-radius: 5px;
}

.TipsboxButton_Btn2_dis {
	width: 140px;
	height: 31px;
	font-size: 14px;
	font-weight:bold;
	background-color:#ffc929;
	color: #FFFFFF;
	line-height: 31px;
	text-align: center;
	font-size: 14px;
	border: none;
	margin: 0px 5px;
	border-radius: 5px;
	
}

.Tipsbluebox {
	width: 448px;
	height: 222px;
	border: 1px solid #ffc929;
	margin: 5px;
	border-radius: 5px 5px 0px 0px;
}

.Tipswramcluestitel {
	width: 448px;
	height: 35px;
	background-color:#ffc929;
	color: #FFFFFF;
	line-height: 32px;
	border-radius: 5px 5px 0px 0px;
}

.Tipswramcluestitel .Tipsleftttl {
	width: 410px;
	float: left;
	text-indent: 5px;
	font-size: 14px;
}

.Tipswramcluestitel .Tipsrightclose {
	width: 23px;
	float: right;
	cursor: pointer;
}

.Tipsmainbox {
	background: url(${base}/images/wramcluesbg_2.gif) no-repeat;
}

.TipsboxTittleFont {
	font-size: 14px;
	font-weight: bold;
	height: 35px;
	line-height: 35px;
	padding-left: 5px;
	text-indent: 55px;
	padding-top: 5px;
}

.TipsRoundcornersboxTittle_Line {
	height: 40px;
	line-height: 40px;
	background: url(${base}/images/payforK3_mainTabBg.png) left -78px
		repeat-x;
}

.TipsboxReTips {
	height: 100px;
	width: 100%;
	padding-left: 76px;
	float: left;
}

.TipsboxReTips_Re {
	border-bottom: 1px dashed #999999;
}

.TipsboxReTips_ReTips {
	font-size: 16px;
	font-weight: bold;
	color: #000;
}

.TipsboxReTips_ReTips span {
	color: #FF8E01;
}

.TipsboxReTips_ReFont {
	line-height: 30px;
}

.TipsboxReTips_Tips {
	padding: 10px 0px;
}

.TipsboxReTips_TipsFont {
	float: left;
	/* margin-left: 76px; */
}

.TipsboxReTips_TipsFont ul {
	padding: 0px;
	margin: 0px;
	font-weight: bold;
	line-height: 25px;
}

.TipsboxReTips_TipsFont ul li {
	line-height: 22px;
	font-weight: normal;
	list-style-type: decimal;
	margin-left: 25px;
}
.tip_off {
background:#fff;
padding:5px 3px 2px 15px;
color:#777;

}
	
</style>

<script>
function docheck(bankcode,paytype,useThirdPay){
    document.jhform.bankcode.value=bankcode;
    document.jhform.paytype.value=paytype;
    document.jhform.USETHIRDPAY.value=useThirdPay;
}


function openDialog1() {
	
	var d_mask=document.getElementById('mask1');

	var d_dialog = document.getElementById('dialog1');
	

	
	var scrollWidth = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth); 

	var scrollHeight = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight); 
	

	d_mask.style.width = scrollWidth  + 'px';

	d_mask.style.height= scrollHeight  + 'px';

	d_dialog.style.top = (scrollHeight/2 - 220) + 'px';
	d_dialog.style.left = (scrollWidth/2 - 230) + 'px';


	d_mask.style.display='block';
	d_dialog.style.display='block';
	
	//appendIfrm();
  
}

function closeDialog1() {
	var d_mask=document.getElementById('mask1');
	var d_dialog = document.getElementById('dialog1');
	
	d_mask.style.display='none';
	d_dialog.style.display='none';
	 
//     document.getElementById("qd1").disabled=false;
	window.location.reload();
}
function goSubmit(){
try{
	var radios = document.getElementsByName("r1");
	var checkIndex = -1;
	for(var i=0;i<radios.length;i++){
		if(radios[i].checked){
			checkIndex = i;
		}
	}
   if(checkIndex==-1){
	   alert("请选择银行");
	   return false;
   }
  document.getElementById("PAYMENT").value=document.getElementById("txtTranAmt").value;
  if(document.getElementById("PAYMENT").value==''||document.getElementById("PAYMENT").value==null){
	  alert("请输入大于0的金额!");
	  return false;
  }
  if(document.getElementById("PAYMENT").value<=0){
	  alert("请输入大于0的金额!");
	  return false;
  }
 /*  if(val <=0  ||  val!=parseInt(val) ){
       alert("请输入大于0的金额!");
	   return false;
   }
 */
 var p=document.getElementById("PAYMENT").value.replace(',','');
   p=p.replace(',','');
   document.getElementById("PAYMENT").value=p;
   if(p.indexOf(',')!=-1){
	   alert('输入金额太大，请修改充值金额!');
	   return false;
   }
	openDialog1();
	return true;

  }catch( e){
	  alert('输入金额有错误，请联系系统管理员！');
	return false;	
	}
}
 
function Toresult1(){
 
	window.close();  
	
}
</script>
<body>
	<div class="CCBContianer">
		<div class="CCBHender">
			<div class="CCBHenderTool">
				<div class="CCBHenderToolLogoFont">
                	<a href="/index.jspx" target="_new" style="display:inline-block; width:155px; height:93px; position:absolute; left:220px; top:0px;"></a>
                	充值
                </div>
			</div>
		  <div class="CCBHender1thMenuNofont"></div>
			 
			<div class="CCBHenderUnderLine"></div>
		</div>
		<div class="CCBMain">
		  <div class="CCBSpaceTop10px">
					<div class="CCBTableHead"><span class="headLeft">请选择银行充值:</span><span class="headRight"></span></div>
					

<TABLE class=CCBTableOutside border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD style="LINE-HEIGHT: normal; HEIGHT: auto">
<DIV class=CCBPayWay><!-- enterprise start -->
<DIV>
<DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; CLEAR: left; PADDING-TOP: 0px"></DIV></DIV><!-- enterprise end -->
<DIV>
<DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; CLEAR: left; PADDING-TOP: 0px"></DIV>
<#list requestconfList as c>
<DIV style="BORDER-BOTTOM: red 0px solid; BORDER-LEFT: red 0px solid; LINE-HEIGHT: 40px; MARGIN-TOP: 10px; WIDTH: 23%; FLOAT: left; BORDER-TOP: red 0px solid; BORDER-RIGHT: red 0px solid">
<INPUT onclick="docheck('${c.id.sid}','${c.id.paytype}','${c.thirdpaysid}')" name="r1" type=radio />
<IMG style="WIDTH: 152px; HEIGHT: 28px; VERTICAL-ALIGN: middle"    src="${base}/images/bankLogo/${c.id.sid}.png"> </DIV>
</#list>
<DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 10px; CLEAR: left; PADDING-TOP: 0px"></DIV></DIV></DIV></TD></TR></TBODY>
</TABLE>
		<FORM name="jhform" id="jhform" method="post" action="/member/doRecharge.jspx" target="_blank" onsubmit="return goSubmit();">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="CCBTableOutside">
					   
					  <tr>
					  	<td class="CCBFontBold" align="left">请填入充值金额: 
					     <input type="text" name="txtTranAmt" id="txtTranAmt" class="CCBInputStyle" onblur="FunFormat();" onkeyup="change_amt();" maxlength="10" style="width:200px; " />
					    
					    <input type="hidden" name="PAYMENT" id="PAYMENT" value="" />
					      <span class="CCBFont12px">元</span></td>
				      </tr>
					  <tr>
                        <td  >
							
							<div class="ButtonAreaNoLine">
							  <input type="submit" name="Submit" value="确认充值" class="CCBButton CCBButtonRedFont6" onmouseover="this.className='CCBButtonRedFont6Mouse'" onmouseout="this.className='CCBButtonRedFont6'"  />
</div>						</td>
				      </tr>
					</table>
				          <input type="hidden" Name="bankcode" id="bankcode" value="" />
							<input type="hidden" Name="paytype" id="paytype" value="" />
							<input type="hidden" Name="USETHIRDPAY" id="USETHIRDPAY" value="" />	
							
</FORM>
		  </div>
		  
			  	<div class="CCBSpaceTop10px">
					<div class="footer">
    	<div class="footer_null"></div>
    	<div class="footer_top">
        	<div class="footer_nav">
            	<ul>
                	<li class="resize">
                    	<span style="border-left:none;"><a href="/integrity.jspx">诚信保障</a></span>
                        <span><a href="/about/contact.jspx">联系我们</a></span>
                        <span><a href="/about/recruit.jspx">招贤纳士</a></span>
                        <span><a href="/friendship.jspx">友情链接</a></span>
                        <span><a href="/map.jspx">网站地图</a></span>
                    </li>
                    <li class="blogroll">
                    	<ul>
                        	<li class="phone"></li>
                            <li style="float:left; width:430px; font-size:24px; color:#464646;">400-1122-363（工作日：09:00-21:00）</li>
                            <li style="float:left; margin-top:5px;">
                    			<a href="http://www.aliyun.com/" target="_blank"><img src="${base}/res/front/img/imagesForFront/T1W6.png" border="0" /></a>
                    		</li>
                        </ul>
                    </li>
                    
                     <li class="rest">
                    	<span id="sina" class="Sina"><a href="http://weibo.com/51d1d" target="_new"></a></span>
                        <span id="tencent" class="Tencent"><a href="http://t.qq.com/yes51d1d" target="_new"></a></span>
                        <span id="wechat" class="WeChat"><a href="" target="_new"></a></span> 
                    </li>
              </ul>
            </div>
        </div>
        <div class="footer_bottom">© 2013~2014 广州鑫易软件科技有限公司版权所有 <a href="http://www.miitbeian.gov.cn" target="_blank">粤ICP备13022040号-2</a>
</div>
    </div>	
				</div>
		</div>
		<div style="clear:both"></div>
			
	</div>
	
	<div id="mask1"></div>
		<div id="dialog1">
			<div class="Tipsbluebox">
				<div class="Tipswramcluestitel">
					<div class="Tipsleftttl">
						温馨提示
					</div>
					<div class="Tipsrightclose">
						<a href="javascript:" onClick="closeDialog1()"><img
							border="0"	src="../../images/04.gif"/> </a>
					</div>
				</div>
				<div class="Tipsmainbox">
					<!--标题-->
					<div class="TipsroundcornersboxTittle">
						<div class="TipsboxTittleFont">
							
						</div>
					</div>
					<!--标题end-->
					<!-----系统提示信息----->
					<div class="TipsboxReTips" style="width: 373px;">
                    	<div style="position:relative; left:-60px; top:15px;">
                        	<img src="../../images/tishi.png" border="0" />
                        </div>
						<div class="TipsboxReTips_TipsFont" style="position:relative; top:-40px;">
							<p>1、如您已成功完成充值，可点击“已完成充值”关闭此窗口</p>
							<p>2、如您未成功完成充值，可点击“选择其他充值方式”进行充值</p>
                        </div>
					</div>
					<!-----系统提示信息end----->
					<!-----按钮区域----->
					<div class="TipsboxButtonArea">
						<button class="TipsboxButton_Btn2" onClick="Toresult1();"
							style="cursor: pointer">
							已完成充值
						</button>
						<button class="TipsboxButton_Btn2_dis" onClick="closeDialog1();"
							style="cursor: pointer">
							选择其他方式充值
						</button>
					</div>
					<!-----按钮区域end----->
				</div>
			</div>
		</div>
</body>
</html>
